package com.metalgun.gui;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class Popup extends JFrame{
	
	private JPanel panel;
	private JLabel label;
	
	public Popup(String message) {
		super();
		label = new JLabel(message);
		panel = new JPanel();
		panel.add(label);
		setContentPane(panel);
		setLocationRelativeTo(null);
		setResizable(false);
		setVisible(true);
		setSize(300, 100);
	}

}
